package com.aidong.pay.biz.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aidong.pay.biz.MsmAppointmentToRemindBiz;
import com.aidong.pay.dao.MsmAppointmentToRemindDao;

@Service("appointmentToRemindBiz")
public class MsmAppointmentToRemindBizImpl implements MsmAppointmentToRemindBiz {
	
	private MsmAppointmentToRemindDao appointmentToRemindDao;

	@Autowired
	public void setAppointmentToRemindDao(
			MsmAppointmentToRemindDao appointmentToRemindDao) {
		this.appointmentToRemindDao = appointmentToRemindDao;
	}

	/**
	 * 活动短信预约提醒信息
	 * @param orderId
	 * @return
	 */
	@Override
	public Map<String, Object> addCampaginRemind(int orderId) {
		return appointmentToRemindDao.addCampaginRemind(orderId);
	}

	/**
	 * 课程短信预约提醒信息
	 * @param orderId
	 * @return
	 */
	@Override
	public Map<String, Object> addCourseRemind(int orderId) {
		return appointmentToRemindDao.addCourseRemind(orderId);
	}

	/**
	 * 添加短信发送记录
	 * @param map
	 */
	@Override
	public void addMsmSendRecord(Map<String, Object> map) {
		appointmentToRemindDao.addMsmSendRecord(map);
	}

	/**
	 * 餐饮预订短信提醒
	 * @param orderId
	 * @return
	 */
	@Override
	public Map<String, Object> addFoodBuyRemind(int orderId) {
		return appointmentToRemindDao.addFoodBuyRemind(orderId);
	}

}
